const router = require('koa-router')()

router.prefix('/api')

const homeControl = require('../controller/home')

router.post('/upload', homeControl.upload)
router.post('/login', homeControl.login)
router.get('/userInfo', homeControl.userInfo)


module.exports = router;